package cn.meomis.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import cn.meomis.common.entity.Pagination;
import cn.meomis.model.Che;


public interface CheService {

	List<Che> findAll();

	void save(Che demo);

	public void removeById(Integer id);

	Pagination pageQueryByHql(String hql, Object[] values,
			String countHql, int pageNumber, int pageSize);
	
	public Che findById(Integer id);
    
}
